import request from '@/utils/request'

export function login(data) {
  return request({
    method: 'post',
    url: '/sys/login',
    data
  })
}

export function getInfo() {
  return request.get('/sys/profile')
}

export function logout() {

}
export function updatepwd(data) {
  return request({
    method: 'put',
    url: '/sys/user/updatePass',
    data
  })
}
